<include target="./header.html" />
<form action="./" method="get" onsubmit="return doChangeCategory(this);" id="fo_list">
<div class="table">
	<table cellspacing="0">
		<caption>Total {number_format($total_count)}, Page {number_format($page)}/{number_format($total_page)}</caption>
		<thead>
			<tr>
				<th scope="col" class="nowr">{$lang->no}</th>
				<th scope="col" class="nowr">
					<input type="hidden" name="module" value="{$module}" />
					<input type="hidden" name="act" value="{$act}" />
					<select name="module_category_srl">
						<option value="">{$lang->module_category}</option>
						<option value="0" selected="selected"|cond="$module_category_srl==='0'">{$lang->not_exists}</option>
						<option loop="$module_category=>$key,$val" value="{$key}" selected="selected"|cond="$module_category_srl==$key">{$val->title}</option>
						<option value="">---------</option>
						<option value="-1">{$lang->cmd_management}</option>
					</select>
					<input type="submit" name="go_button" id="go_button" value="GO" />
				</th>
				<th scope="col" class="nowr">{$lang->mid}</th>
				<th scope="col" class="title">{$lang->browser_title}</th>
				<th scope="col" class="nowr">{$lang->regdate}</th>
				<th scope="col" class="nowr">&nbsp;</th>
				<th scope="col"><input type="checkbox" onclick="XE.checkboxToggleAll()" /></th>
			</tr>
		</thead>
		<tbody>
			<!--@foreach($wiki_list as $no => $val)-->
			<tr>
				<td class="nowr">{$no}</td>
				<td class="nowr">
					<!--@if(!$val->module_category_srl)-->
						<!--@if($val->site_srl)-->
						{$lang->virtual_site}
						<!--@else-->
						{$lang->not_exists}
						<!--@end-->
					<!--@else-->
						{$module_category[$val->module_category_srl]->title}
					<!--@end-->
				</td>
				<td class="nowr">{htmlspecialchars($val->mid)}</td>
				<td class="title"><a href="{getSiteUrl($val->domain,'','mid',$val->mid)}" onclick="window.open(this.href); return false;">{$val->browser_title}</a></td>
				<td class="nowr">{zdate($val->regdate,"Y-m-d")}</td>
				<td class="nowr">
					<a href="{getUrl('act','dispWikiAdminInsertWiki','module_srl',$val->module_srl)}">{$lang->cmd_setup}</a>
					<a href="./?module=module&amp;act=dispModuleAdminCopyModule&amp;module_srl={$val->module_srl}" onclick="popopen(this.href);return false;">{$lang->cmd_copy}</a>
					<a href="{getUrl('act','dispWikiAdminDeleteWiki','module_srl', $val->module_srl)}" class="buttonSet buttonDelete">{$lang->cmd_delete}</a>
				</td>
				<td><input type="checkbox" name="cart" value="{$val->module_srl}" /></td>
			</tr>
			<!--@end-->
		</tbody>
	</table>
</div>
</form>

<div class="btnArea">
	<span class="btn"><a href="{getUrl('','module','module','act','dispModuleAdminModuleSetup')}" onclick="doCartSetup(this.href); return false;">{$lang->cmd_setup}...</a></span>
	<span class="btn"><a href="{getUrl('','module','module','act','dispModuleAdminModuleAdditionSetup')}" onclick="doCartSetup(this.href); return false;">{$lang->cmd_addition_setup}...</a></span>
	<span class="btn"><a href="{getUrl('','module','module','act','dispModuleAdminModuleGrantSetup')}" onclick="doCartSetup(this.href); return false;">{$lang->cmd_manage_grant}...</a></span>
	<span class="etc">
		<span class="btn"><a href="{getUrl('act','dispWikiAdminInsertWiki','module_srl','')}">{$lang->cmd_make}...</a></span>
	</span>
</div>

<div class="pagination">
	<a href="{getUrl('page','','module_srl','')}" class="direction">&laquo; {$lang->first_page}</a> 
	<!--@while($page_no = $page_navigation->getNextPage())-->
	<strong cond="$page == $page_no">{$page_no}</strong> 
	<a  cond="$page!=$page_no" href="{getUrl('page',$page_no,'module_srl','')}">{$page_no}</a> 
	<!--@end-->
	<a href="{getUrl('page',$page_navigation->last_page,'module_srl','')}" class="direction">{$lang->last_page} &raquo;</a>
</div>
